<template>
  <div class="wrapper">
    <div class="content1">
      <div class="title">
        <div class="head">
          <img v-lazy="props.clientImage" />
        </div>
        <div class="tbody">
          <div class="tbody-top">
            <div class="img">
              <img
                class="username"
                src="https://image.hongbeibang.com/Fj1UT_HuSX4MkdcukYhWRpioEyWx?200X200&imageView2/1/w/80/h/80"
              />
            </div>
            <p>{{ props.clientName }}</p>
          </div>
          <div class="tbody-bottom">{{ props.createTime }}</div>
        </div>
      </div>
      <div class="content">
        <div class="tag">{{ props.communityName }}</div>
        <p class="intruduce">{{ props.introduce }}</p>
      </div>
      <div class="images">
        <p><img v-lazy="props.image[0]" /></p>
      </div>
    </div>
     <ul class="give">
        <li>
          <img
            src="https://image.hongbeibang.com/Fqv9VBHXG627znbKlZYnHQMTHVdc?200X200&imageView2/1/w/38/h/38"
            alt=""
          /><span>50</span>
        </li>
        <li >
          <img 
            src="https://image.hongbeibang.com/Fi6E0gsACPeVV5_xgH5JBn6PN45m?200X200&imageView2/1/w/38/h/38"
            alt=""
          /><span>打赏</span>
        </li>
        <li>
          <img
            src="https://image.hongbeibang.com/FiZ5-B7_rmV_gnPl97P-FkpjSlij?200X200&imageView2/1/w/38/h/38"
            alt=""
          /><span>评论</span>
        </li>
      </ul>
    
    
  </div>
</template> 

<script>

export default {
  data() {
    return {
     
    };
  },
  
  props: {
    props: Object,
  },
  mounted() {
   
  },
  

};
</script>


<style lang="scss" scoped>
.wrapper {
  width: 100%;
  height: 100%;
  margin-top: 50px;
  .content1 {
    width: 100%;
    height: 502px;

    .title {
      width: 100%;
      height: 44px;
      padding: 10px 15px;
      box-sizing: border-box;
      overflow: hidden;
      display: flex;
      align-items: center;
      .head {
        width: 40px;
        height: 40px;
        margin-right: 10px;
        img {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
      }
      .tbody {
        flex: 1;
        .tbody-top {
          height: 20px;
          display: flex;
          .img {
            width: 40px;
            height: 40px;
            margin-top: -10px;
            margin-right: 3px;
            img {
              width: 100%;
            }
          }
          p {
            font-size: 13px;
            height: 20px;
            line-height: 20px;
            text-align: left;
            color: #4a4945;
            overflow: hidden;
            text-overflow: ellipsis;
            -otext-overflow: ellipsis;
            -webkit-text-overflow: ellipsis;
            -moz-text-overflow: ellipsis;
            white-space: nowrap;
          }
        }
        .tbody-bottom {
          text-align: left;
          font-size: 12px;
          height: 20px;
          line-height: 20px;
          color: #999999;
          overflow: hidden;
          text-overflow: ellipsis;
          -otext-overflow: ellipsis;
          -webkit-text-overflow: ellipsis;
          -moz-text-overflow: ellipsis;
          white-space: nowrap;
        }
      }
    }
    .content {
      margin: 10px 15px 11px 15px;
      font-size: 14px;
      color: #4a4945;
      line-height: 20px;
      max-height: 80px;
      overflow: hidden;
      text-overflow: ellipsis;
      background: #fff;
      .tag {
        float: left;
        color: #498dd0;
      }
    }
    .images {
      margin: 0 11px;
      padding: 0;
      overflow: hidden;
      zoom: 1;
      background: white;
      height: 366px;
      img {
        width: 100%;
        font-size: 0;
        padding: 4px;
        margin: 0;
        overflow: hidden;
        box-sizing: border-box;
      }
    }
  }
  .give {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: space-around;
    border-top: 1px;
    border-top: 1px solid;
    border-top-color: #E7E2E5;
    padding-bottom: 10px;
    
    border-bottom: 10px solid #f5f7f9;

    
    li {
        // &.active {
        //        color: red;
        //    }
      img {
        width: 20px;
        height: 20px;
        margin-top: 4px;

      }
      span {
        font-size: 15px;
        color: grey;
        display: inline-block;
        margin-left: 5px;
        margin-top: 10px;
      }
    }
  }
  
}
</style>
